package com.drinks.yiniang.entity.common;

import com.drinks.yiniang.common.camera.album.entity.GoodsTagPoints;
import com.drinks.yiniang.common.camera.album.entity.TagPoints;
import com.hansen.library.entity.BaseJson;

import java.io.Serializable;
import java.util.List;

/**
 * Created by han on 2019/6/15 0015.
 */

public class UploadImageJson extends BaseJson {

    private UploadImageData data;

    public UploadImageData getData() {
        return data;
    }

    public void setData(UploadImageData data) {
        this.data = data;
    }

    public static class UploadImageData implements Serializable {
        //--上传到服务器返回信息
        private String id;
        private String original;
        //图片资源id
        private int resId;
        private String name;
        //---本地信息
        private String filePath;
        private String absolutePath;
        //---携带商品信息
        private String goodsId;
        private int wdith;
        private int height;
        private List<TagPoints> tagPoints;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getOriginal() {
            return original;
        }

        public void setOriginal(String original) {
            this.original = original;
        }

        public int getResId() {
            return resId;
        }

        public void setResId(int resId) {
            this.resId = resId;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getFilePath() {
            return filePath;
        }

        public void setFilePath(String filePath) {
            this.filePath = filePath;
        }

        public String getAbsolutePath() {
            return absolutePath;
        }

        public void setAbsolutePath(String absolutePath) {
            this.absolutePath = absolutePath;
        }

        public String getGoodsId() {
            return goodsId;
        }

        public void setGoodsId(String goodsId) {
            this.goodsId = goodsId;
        }

        public int getWdith() {
            return wdith;
        }

        public void setWdith(int wdith) {
            this.wdith = wdith;
        }

        public int getHeight() {
            return height;
        }

        public void setHeight(int height) {
            this.height = height;
        }

        public List<TagPoints> getTagPoints() {
            return tagPoints;
        }

        public void setTagPoints(List<TagPoints> tagPoints) {
            this.tagPoints = tagPoints;
        }
    }
}
